<?php
class CmMailForm extends CFormModel
{
    public $from;
    public $to;
    public $subject;
    public $content;
 
    public function rules()
    {
        return array(
            array('from, to', 'required'),
            array('subject, content', 'safe'),
        );
    }

}
